package commands.nc;

import networkcontroller.TCPConnection;

public class NCSegmentInternal extends NetworkControllerCommand
{
	private byte[] data;
	private TCPConnection tcpConnection;
	
	public NCSegmentInternal(byte[] data,TCPConnection tcpConnection)
	{
		super(NetworkControllerCommandType.SEGMENT_INTERNAL);
		this.data=data;
		this.tcpConnection=tcpConnection;
	}

	public byte[] getData()
	{
		return data;
	}

	public TCPConnection getTcpConnection()
	{
		return tcpConnection;
	}
}
